.class Lcom/netease/newsreader/activity/NewsReader$35;
.super Ljava/lang/Object;
.source "NewsReader.java"

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/netease/newsreader/activity/NewsReader;->addData2attitude()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Landroid/widget/AdapterView$OnItemClickListener;"
    }
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/activity/NewsReader;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/NewsReader;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/NewsReader$35;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    .line 3778
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 14
    .parameter
    .parameter "view"
    .parameter "position"
    .parameter "id"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/AdapterView",
            "<*>;",
            "Landroid/view/View;",
            "IJ)V"
        }
    .end annotation

    .prologue
    .line 3783
    .local p1, parent:Landroid/widget/AdapterView;,"Landroid/widget/AdapterView<*>;"
    const-string v9, "attitude"

    .line 3784
    .local v9, type:Ljava/lang/String;
    new-instance v1, Landroid/os/Bundle;

    invoke-direct {v1}, Landroid/os/Bundle;-><init>()V

    .line 3787
    .local v1, b:Landroid/os/Bundle;
    const-string v4, ""

    .line 3788
    .local v4, imgsrc:Ljava/lang/String;
    const-string v2, ""

    .line 3789
    .local v2, digest:Ljava/lang/String;
    const-string v10, ""

    .line 3790
    .local v10, url:Ljava/lang/String;
    const-string v7, ""

    .line 3791
    .local v7, replyCount:Ljava/lang/String;
    const-string v8, ""

    .line 3792
    .local v8, title:Ljava/lang/String;
    const-string v6, ""

    .line 3793
    .local v6, ptime:Ljava/lang/String;
    const-string v3, ""

    .line 3795
    .local v3, docId:Ljava/lang/String;
    iget-object v11, p0, Lcom/netease/newsreader/activity/NewsReader$35;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v11}, Lcom/netease/newsreader/activity/NewsReader;->access$73(Lcom/netease/newsreader/activity/NewsReader;)Ljava/util/List;

    move-result-object v11

    move/from16 v0, p3

    invoke-interface {v11, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v11

    check-cast v11, Ljava/util/Map;

    const-string v12, "docid"

    invoke-interface {v11, v12}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v11

    if-eqz v11, :cond_0

    .line 3796
    iget-object v11, p0, Lcom/netease/newsreader/activity/NewsReader$35;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v11}, Lcom/netease/newsreader/activity/NewsReader;->access$73(Lcom/netease/newsreader/activity/NewsReader;)Ljava/util/List;

    move-result-object v11

    move/from16 v0, p3

    invoke-interface {v11, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v11

    check-cast v11, Ljava/util/Map;

    const-string v12, "docid"

    invoke-interface {v11, v12}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v11

    invoke-virtual {v11}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v3

    .line 3798
    :cond_0
    iget-object v11, p0, Lcom/netease/newsreader/activity/NewsReader$35;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v11}, Lcom/netease/newsreader/activity/NewsReader;->access$73(Lcom/netease/newsreader/activity/NewsReader;)Ljava/util/List;

    move-result-object v11

    move/from16 v0, p3

    invoke-interface {v11, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v11

    check-cast v11, Ljava/util/Map;

    const-string v12, "imgsrc"

    invoke-interface {v11, v12}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v11

    if-eqz v11, :cond_1

    .line 3799
    iget-object v11, p0, Lcom/netease/newsreader/activity/NewsReader$35;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v11}, Lcom/netease/newsreader/activity/NewsReader;->access$73(Lcom/netease/newsreader/activity/NewsReader;)Ljava/util/List;

    move-result-object v11

    move/from16 v0, p3

    invoke-interface {v11, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v11

    check-cast v11, Ljava/util/Map;

    const-string v12, "imgsrc"

    invoke-interface {v11, v12}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v11

    invoke-virtual {v11}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v4

    .line 3801
    :cond_1
    iget-object v11, p0, Lcom/netease/newsreader/activity/NewsReader$35;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v11}, Lcom/netease/newsreader/activity/NewsReader;->access$73(Lcom/netease/newsreader/activity/NewsReader;)Ljava/util/List;

    move-result-object v11

    move/from16 v0, p3

    invoke-interface {v11, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v11

    check-cast v11, Ljava/util/Map;

    const-string v12, "digest"

    invoke-interface {v11, v12}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v11

    if-eqz v11, :cond_2

    .line 3802
    iget-object v11, p0, Lcom/netease/newsreader/activity/NewsReader$35;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v11}, Lcom/netease/newsreader/activity/NewsReader;->access$73(Lcom/netease/newsreader/activity/NewsReader;)Ljava/util/List;

    move-result-object v11

    move/from16 v0, p3

    invoke-interface {v11, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v11

    check-cast v11, Ljava/util/Map;

    const-string v12, "digest"

    invoke-interface {v11, v12}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v11

    invoke-virtual {v11}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v2

    .line 3804
    :cond_2
    iget-object v11, p0, Lcom/netease/newsreader/activity/NewsReader$35;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v11}, Lcom/netease/newsreader/activity/NewsReader;->access$73(Lcom/netease/newsreader/activity/NewsReader;)Ljava/util/List;

    move-result-object v11

    move/from16 v0, p3

    invoke-interface {v11, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v11

    check-cast v11, Ljava/util/Map;

    const-string v12, "replyCount"

    invoke-interface {v11, v12}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v11

    if-eqz v11, :cond_3

    .line 3805
    iget-object v11, p0, Lcom/netease/newsreader/activity/NewsReader$35;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v11}, Lcom/netease/newsreader/activity/NewsReader;->access$73(Lcom/netease/newsreader/activity/NewsReader;)Ljava/util/List;

    move-result-object v11

    move/from16 v0, p3

    invoke-interface {v11, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v11

    check-cast v11, Ljava/util/Map;

    const-string v12, "replyCount"

    invoke-interface {v11, v12}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v11

    invoke-virtual {v11}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v7

    .line 3807
    :cond_3
    iget-object v11, p0, Lcom/netease/newsreader/activity/NewsReader$35;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v11}, Lcom/netease/newsreader/activity/NewsReader;->access$73(Lcom/netease/newsreader/activity/NewsReader;)Ljava/util/List;

    move-result-object v11

    move/from16 v0, p3

    invoke-interface {v11, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v11

    check-cast v11, Ljava/util/Map;

    const-string v12, "url"

    invoke-interface {v11, v12}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v11

    if-eqz v11, :cond_4

    .line 3808
    iget-object v11, p0, Lcom/netease/newsreader/activity/NewsReader$35;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v11}, Lcom/netease/newsreader/activity/NewsReader;->access$73(Lcom/netease/newsreader/activity/NewsReader;)Ljava/util/List;

    move-result-object v11

    move/from16 v0, p3

    invoke-interface {v11, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v11

    check-cast v11, Ljava/util/Map;

    const-string v12, "url"

    invoke-interface {v11, v12}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v11

    invoke-virtual {v11}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v10

    .line 3810
    :cond_4
    iget-object v11, p0, Lcom/netease/newsreader/activity/NewsReader$35;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v11}, Lcom/netease/newsreader/activity/NewsReader;->access$73(Lcom/netease/newsreader/activity/NewsReader;)Ljava/util/List;

    move-result-object v11

    move/from16 v0, p3

    invoke-interface {v11, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v11

    check-cast v11, Ljava/util/Map;

    const-string v12, "title"

    invoke-interface {v11, v12}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v11

    if-eqz v11, :cond_5

    .line 3811
    iget-object v11, p0, Lcom/netease/newsreader/activity/NewsReader$35;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v11}, Lcom/netease/newsreader/activity/NewsReader;->access$73(Lcom/netease/newsreader/activity/NewsReader;)Ljava/util/List;

    move-result-object v11

    move/from16 v0, p3

    invoke-interface {v11, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v11

    check-cast v11, Ljava/util/Map;

    const-string v12, "title"

    invoke-interface {v11, v12}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v11

    invoke-virtual {v11}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v8

    .line 3813
    :cond_5
    iget-object v11, p0, Lcom/netease/newsreader/activity/NewsReader$35;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v11}, Lcom/netease/newsreader/activity/NewsReader;->access$73(Lcom/netease/newsreader/activity/NewsReader;)Ljava/util/List;

    move-result-object v11

    move/from16 v0, p3

    invoke-interface {v11, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v11

    check-cast v11, Ljava/util/Map;

    const-string v12, "ptime"

    invoke-interface {v11, v12}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v11

    if-eqz v11, :cond_6

    .line 3814
    iget-object v11, p0, Lcom/netease/newsreader/activity/NewsReader$35;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v11}, Lcom/netease/newsreader/activity/NewsReader;->access$73(Lcom/netease/newsreader/activity/NewsReader;)Ljava/util/List;

    move-result-object v11

    move/from16 v0, p3

    invoke-interface {v11, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v11

    check-cast v11, Ljava/util/Map;

    const-string v12, "ptime"

    invoke-interface {v11, v12}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v11

    invoke-virtual {v11}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v6

    .line 3817
    :cond_6
    if-eqz v3, :cond_7

    const-string v11, ""

    invoke-virtual {v3, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v11

    if-nez v11, :cond_7

    .line 3818
    const-string v11, "docid"

    invoke-virtual {v1, v11, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 3819
    const-string v11, "position"

    new-instance v12, Ljava/lang/StringBuilder;

    invoke-direct {v12}, Ljava/lang/StringBuilder;-><init>()V

    move/from16 v0, p3

    invoke-virtual {v12, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v12

    invoke-virtual {v12}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v12

    invoke-virtual {v1, v11, v12}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 3820
    const-string v11, "tid"

    invoke-virtual {v1, v11, v9}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 3821
    const-string v11, "is_topic"

    const/4 v12, 0x1

    invoke-virtual {v1, v11, v12}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    .line 3822
    const-string v11, "url"

    invoke-virtual {v1, v11, v10}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 3823
    const-string v11, "imgsrc"

    invoke-virtual {v1, v11, v4}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 3824
    const-string v11, "digest"

    invoke-virtual {v1, v11, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 3825
    const-string v11, "replyCount"

    invoke-virtual {v1, v11, v7}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 3826
    const-string v11, "title"

    invoke-virtual {v1, v11, v8}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 3827
    const-string v11, "ptime"

    invoke-virtual {v1, v11, v6}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 3829
    new-instance v5, Landroid/content/Intent;

    iget-object v11, p0, Lcom/netease/newsreader/activity/NewsReader$35;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    const-class v12, Lcom/netease/newsreader/activity/DetailPage;

    invoke-direct {v5, v11, v12}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 3831
    .local v5, itemintent:Landroid/content/Intent;
    invoke-virtual {v5, v1}, Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;

    .line 3833
    iget-object v11, p0, Lcom/netease/newsreader/activity/NewsReader$35;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-virtual {v11, v5}, Lcom/netease/newsreader/activity/NewsReader;->startActivity(Landroid/content/Intent;)V

    .line 3837
    .end local v5           #itemintent:Landroid/content/Intent;
    :goto_0
    return-void

    .line 3835
    :cond_7
    iget-object v11, p0, Lcom/netease/newsreader/activity/NewsReader$35;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    const-string v12, "\u6253\u5f00\u65b0\u95fb\u6b63\u6587\u5931\u8d25"

    const/4 v13, 0x0

    invoke-static {v11, v12, v13}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v11

    invoke-virtual {v11}, Landroid/widget/Toast;->show()V

    goto :goto_0
.end method
